<?php

namespace app\model;

use think\Model;

class BocSupplier extends Model
{
    public $table = 'boc_supplier';

    protected $autoWriteTimestamp = true;

    public function get_list()
    {
        return $this->field('id,gys_order,gys_name')->where(['state' => 1, 'is_deleted' => 1])->order('create_time desc')->select()->toArray();
    }
}
